package com.szzg10.webservice.chapter1;

import javax.xml.ws.Endpoint;

public class TimeServerThreadPoolPublisher {

	public static void main(String[] args) {
		Endpoint endpoint = Endpoint.create(new TimeServerImpl());
		endpoint.setExecutor(new MyThreadPool());
		
		endpoint.publish("http://localhost:9876/ts");
	}
}
